import { cmdMeasure } from '@/commands/tools';
import { CmdButton } from '@/components/CmdBar/CmdButtons';
import { FeatureManager } from '@amcax/base';
import { Flex } from 'antd';

export const DesignLayout = () => {
  return (
    <Flex gap={4}>
      {FeatureManager.isFeatureEnabled('cmd-tool-measure') && (
        <CmdButton
          cmd={cmdMeasure}
          showLabel={false}
          noBg
        />
      )}
    </Flex>
  );
};
